package org.footballmanager.pandafootball.system.domain;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Transient;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.Date;
import java.util.List;
import java.util.Map;

/**
 * 球员表
 */
@Entity
@Setter
@Getter
@ToString
public class FootPerson extends BaseEntity implements Serializable {
    @Column(name = "qybm", length = 32)
    @NotNull
    private String qybm;
    @Column(name = "name", length = 200)
    @NotNull
    private String name;
    @Column(name = "ssjlb")
    @NotNull
    private Long ssjlb;
    @Transient
    private String jlbName;
    @Column(name = "yw", length = 200)
    @NotNull
    private String yw;
    @Column(name = "gj")
    @NotNull
    private Long gj;
    @Transient
    private String gjName;
    @Transient
    private String gjUrl;
    @Column(name = "dj_id")
    @NotNull
    private Long djId;
    @Transient
    private String qydj;
    @Transient
    private String qysj;
    @Column(name = "zp")
    private Long zp;
    @Transient
    private String zpUrl;
    @Column(name = "wz")
    @NotNull
    private Long wz;
    @Transient
    private String wzmc;
    @Transient
    private String wzbm;
    @Column(name = "sr")
    private Date sr;
    @Column(name = "sg")
    private Integer sg;
    @Column(name = "tz")
    private Integer tz;
    @Column(name = "nl")
    private Integer nl;
    @Column(name = "hm")
    private Integer hm;
    @Column(name = "grjj", length = 200)
    private String grjj;
    @Column(name = "zyjx", length = 200)
    private String zyjx;
    @Column(name = "gyj", length = 10)
    @NotNull
    private String gyj;
    @Column(name = "p_card", length = 500)
    @NotNull
    private String pCard;
    @Column(name = "s_card", length = 2000)
    @NotNull
    private String sCard;
    @Column(name = "position", length = 200)
    @NotNull
    private String position;
    @Column(name = "com", length = 200)
    private String com;
    @Column(name = "other", length = 500)
    private String other;
    @Column(name = "xqzt")
    private Integer xqzt;
    @Column(name = "pf")
    @NotNull
    private Integer pf;
    @Column(name = "update_date")
    private Date updateDate;
    @Transient
    private byte[] img;
    @Transient
    private Boolean main;
    @Transient
    private Integer xycs;
    @Transient
    private Long fupId;
    @Transient
    private Integer gpzt;
    @Transient
    private Double power;
    @Transient
    private Integer upTimes;
    @Transient
    private String color;
    @Transient
    private Integer jq;
    @Transient
    private Integer zg;
    @Transient
    private Integer mvp;

    @Transient
    private List<FootPersonSkill> skillList;
    @Transient
    private Map<String, Integer> map;

}